package com.edu.aspect;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.*;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class LogAspect {

    @Before("execution(* com.edu.service..*(..))")
    public void before(JoinPoint jt){
        System.out.println("执行了前置通知");
    }
}
